package sk.isomi.minihr.entities;

public class Address {
	private String street;
	private String town;
	private String zipCode;

	public Address(String street, String town, String zipCode) {
		this.street = street;
		this.town = town;
		this.zipCode = zipCode;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	@Override
	public String toString() {
		return String.format("Address [street=%s, town=%s, zipCode=%s]",
				street, town, zipCode);
	}

}
